﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using famails.dto;
using famails.App_Code.source.dto;
namespace famails.iface
{
    /// <summary>
    /// Summary description for IProductGroup
    /// </summary>
    public interface ICM_ProductGroup
    {
        DataTable GetByID(int ID, int userID);
        DataTable GetAll(int userid);
        bool Insert(CM_ProductGroupDTO dto);
        bool Edit(CM_ProductGroupDTO dto);
        bool Delete(int id);
        bool CheckExistsName(string name, int id);
        bool CheckBeforeDelete(int id);
    }
}